package com.tequila.core.service;

import com.tequila.domain.dto.AnaDto;
import com.tequila.domain.entity.Ana;
import com.tequila.domain.query.AnaQuery;

import fe.core.Pagination;

import java.util.List;

public interface AnaService {

    public Pagination<AnaDto> queryPageListByParam(AnaQuery query);

    public AnaDto queryById(Long id);

    public List<AnaDto> queryByIdList(List<Long> idList);

    public List<AnaDto> queryListByParam(AnaQuery query);

    public Long insert(Ana entity);

    public Long save(Ana entity);

    public int updateById(Ana param);

    public int updateSelectiveById(Ana param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
